Release 10.1A: OpenEdge Development:
Progress Dynamics Getting Started


Using the Localization Manager to translate a window

The Progress Dynamics Localization Manager lets you translate all visual elements of your application screens (including application messages) into any number of languages. You can also use the Language facility to provide alternative texts for any purpose, such as specializing labels, prompts, and messages for different user organizations.

To define a new language:

  1. Choose Tools Administration from the AppBuilder main window. The Administration window appears:
  2. Choose Application Language Control. The Language Control dialog box appears:
  3. Choose the Add button . The Language Maintenance dialog box appears.
  4. Type FR for the Language Code and French for the Language Name. For clarity, use the standard, two-letter acronym for the language, followed by an optional two-letter variant acronym, such as EN-US for US English and EN-UK for British English, as shown:
  5. Choose Save, then exit the Language Control and Language Maintenance dialog boxes.
  6. Close the Administration window.

Now that you have a code in the Repository for French, you can store French translations. Then, you can create a French language user. In Progress Dynamics, you can translate all visual elements. However, depending on the type of element, you use different tools:

In this tutorial, you will translate widgets and menus. For translation of messages, see OpenEdge Development: Progress Dynamics Basic Development .

Translating widgets

You can translate any application screen while it is running.

To translate a screen into French:

  1. Run oeMenuWin from the Dynamic Launcher. Remember to select all the toggle boxes.
  2. Note: Remember to reconnect the DynSports database if you have restarted your session since last running the application.

  3. Choose Order Entry Orders.
  4. Double-click on an order to launch your Order and Lines Browse.
  5. Select the Order Lines tab, as shown:
  6. Choose File Translate. The Translate Window dialog box appears:
  7. The Localization Manager builds the browse with all the translatable strings in the current window.

  8. Select French in the Language combo box, and leave the Source Language on English. For a complete description of the options in the Translate Window, see OpenEdge Development: Progress Dynamics Basic Development .
  9. Select the orderline_price fill-in widget.
  10. Enter Prix ligne de commande: in the Translated label column.
  11. Enter the widget label translations from the following table in the browse:
  12. Widget type
    Original label
    Translated label
    Fill-in
    Discount:
    Rabais ligne de commande:
    Fill-in
    Extended Price:
    Prix prolonge ligne de commande:
    Fill-in
    Quantity:
    Quantite:
    Tab
    Order
    Ordre
    Tab
    Order Lines
    Ligne de commandes

  13. Choose OK, and close your application windows.
Translating menus

To translate a menu into French:

  1. Choose Build Toolbar and Menu Designer in the AppBuilder main window.
  2. Select the ds-general module.
  3. Choose Item Categories DynSports Customers. The Customers details appear in the update frame, as shown:
  4. Choose the Translate Menu Item button . The Menu Item Translation dialog box appears:
  5. Select French in the To combo box.
  6. Select Menu Item Label in the browser.
  7. Type Clientes in the French column and press TAB.
  8. Choose OK.
  9. Add the translations from the following table:
  10. Menu element
    Translation
    Item Categories DynSports Orders
    Commandes
    Item Categories SubMenu Order Entry
    Saisie de commandes

  11. Exit the Toolbar and Menu Designer.

Before you can see the effects of your translations, you must log on as a French user. So, the next step is to create a French user.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095